<?php

namespace App\HttpController\Api;

class Category extends Base
{

    public function index()
    {
        $cats = [
            1 => '推荐',
            2 => '电影',
            3 => '科技',
        ];
        return $this->writeJson(200, 'OK', $cats);
    }

}